projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d43315
)
* lisp/dom.el (dom-texts): Simplify (Bug#36441).
author
Xu Chunyang
<mail@xuchunyang.me>
Sun, 30 Jun 2019 04:30:22 +0000
(12:30 +0800)
committer
Noam Postavsky
<npostavs@gmail.com>
Sat, 6 Jul 2019 18:34:47 +0000
(14:34 -0400)
lisp/dom.el
patch
|
blob
|
history
diff --git
a/lisp/dom.el
b/lisp/dom.el
index e4da63d8476591285fcc5a888d7e8f1eb6a34d6e..d8c44339985e64aa1f75c3ae4bf9d3d5fde0a1a9 100644
(file)
--- a/
lisp/dom.el
+++ b/
lisp/dom.el
@@
-81,17
+81,15
@@
A typical attribute is `href'."
(if (eq (dom-tag node) 'script)
""
(mapconcat
- 'identity
- (mapcar
- (lambda (elem)
- (cond
- ((stringp elem)
- elem)
- ((eq (dom-tag elem) 'script)
- "")
- (t
- (dom-texts elem separator))))
- (dom-children node))
+ (lambda (elem)
+ (cond
+ ((stringp elem)
+ elem)
+ ((eq (dom-tag elem) 'script)
+ "")
+ (t
+ (dom-texts elem separator))))
+ (dom-children node)
(or separator " "))))
(defun dom-child-by-tag (dom tag)